package com.itcast.n3_类的加载器;

/**
 * @program: jvm
 * @description:
 * @author: flyduck
 * @create: 2024-09-04 14:10
 **/
public class Test15_打破类的双亲委派机制2_验证新创建线程的上下文类加载器是AppClassLoader {
    public static void main(String[] args) {
        new Thread(){
            @Override
            public void run() {
                System.out.println(Thread.currentThread().getContextClassLoader());//sun.misc.Launcher$AppClassLoader@14dad5dc
            }
        }.start();
    }
}
